Learn R Programming

dprop (version 0.1.0)

Beta distribution: Compute the distributional properties of the beta distribution

Description

Compute the first four ordinary moments, central moments, mean, variance, Pearson's coefficient of skewness, kurtosis, coefficient of variation, median and quartile deviation based on the selected parametric values of the beta distribution.

Usage

d_beta(alpha, beta)

Value

d_beta gives the first four ordinary moments, central moments, mean, variance, Pearson's coefficient of skewness and kurtosis, coefficient of variation, median and quartile deviation based on the selected parametric values of the beta distribution.

Arguments

alpha

The strictly positive shape parameter of the beta distribution (\(\alpha > 0\)).

beta

The strictly positive shape parameter of the beta distribution (\(\beta > 0\)).

Author

Muhammad Imran.

R implementation and documentation: Muhammad Imran imranshakoor84@yahoo.com.

Details

The following is the probability density function of the beta distribution: $$ f(x)=\frac{\Gamma\left(\alpha+\beta\right)}{\Gamma\left(\alpha\right)\Gamma\left(\beta\right)}x^{\alpha-1}\left(1-x\right)^{\beta-1}, $$ where \(0\leq x\leq1\), \(\alpha > 0\) and \(\beta > 0\).

References

Gupta, A. K., & Nadarajah, S. (2004). Handbook of beta distribution and its applications. CRC Press.

Johnson, N. L., Kotz, S., & Balakrishnan, N. (1994). Beta distributions. Continuous univariate distributions. 2nd ed. New York, NY: John Wiley and Sons, 221-235.

See Also

d_kum

Examples

Run this code
d_beta(2,2)

Run the code above in your browser using DataLab